package dao;

// Generated 04-Apr-2011 11:04:34 by Hibernate Tools 3.4.0.CR1

import java.util.List;

import hibernate.HibernateDAO;
import beans.TbCodparada;
import javax.ejb.Stateless;


@Stateless
public class TbCodparadaDAO extends HibernateDAO<TbCodparada, Integer> {
	@SuppressWarnings("unchecked")
	public List<String> ListarCodParada(){
		return this.session.createQuery("Select concat(codparadaCod, ' - ', codparadaDescr)  from TbCodparada order by codparadaCod asc").list();
	}
}
